/*
 * system.h
 *
 *  Created on: 2017年7月22日
 *      Author: changruowang
 */

#ifndef SYSTEM_H_
#define SYSTEM_H_

#include "cg_src/r_cg_macrodriver.h"
#include "cg_src/r_cg_sci.h"
#include "cg_src/r_cg_port.h"

typedef enum
{
    No = 0,
    Yes,
	Err,
}YesNo_t;


typedef enum
{
    Failure = 0,
    Success,
}OptSta_t;

typedef signed              char    int8;
typedef signed      short   int     int16;
typedef signed              int     int32;
typedef signed      long    long    int64;

typedef unsigned            char    uint8;
typedef unsigned    short   int     uint16;
typedef unsigned            int     uint32;
typedef unsigned    long    long    uint64;

typedef int32_t  s32;
typedef int16_t  s16;
typedef int8_t   s8;
typedef unsigned char u8;

extern uint8_t send_buf[30];
extern volatile uint8_t sci_sendOK;

#endif /* SYSTEM_H_ */
